package com.mzy.linear_struct.ks;

/**
 * @Author: mizy3
 * @Date: 2024/08/24/上午2:49
 * @Description:
 */
public class Pro67二进制求和 {

    public String addBinary(String a, String b) {
        char[] arra = a.toCharArray();
        char[] arrb = b.toCharArray();
        StringBuilder ans = new StringBuilder();

        for (int i = arra.length - 1, j = arrb.length - 1; i >= 0 || j >= 0; i--, j--) {
            int an = i < 0 ? 0 : (int) arra[i];
            int bn = arrb[j];

        }

        return ans.toString();
    }
}
